﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Policlinica
{
    public class Cabinet : BusinessObjectBase
    {
        private string _cabinetNumber;

        public Cabinet()
        {
          
        }

        public Cabinet(int id, bool isDeleted, string cabinetNumber):base(id, isDeleted)
        {
            _cabinetNumber = cabinetNumber;
        }

        public Cabinet(string cabinetNumber)
        {
            _cabinetNumber = cabinetNumber;
        }


        public string CabinetNumber
        {
            get
            {
                return this._cabinetNumber;
            }
            set
            {
                if ((this._cabinetNumber != value))
                {
                    this._cabinetNumber = value;
                }
            }
        }

        public override string ToString()
        {
            return CabinetNumber.ToString();
        }
        
       
    }
	
}
